package com.parttime.beans;

import java.io.Serializable;
import java.sql.Timestamp;

public class Part_Time_Job implements Serializable{
	private Integer job_id;//兼职id，唯一标识每一条兼职信息，不为空
	private String job_duties;//工作介绍
	private String workplace;//工作地点
	private Timestamp add_time;//发布时间
	private Timestamp working_time;//工作时间
	private Integer  wages;//工作工资
	private String type;//工作类型
	private  Merchant_Users merchant_users;//发布该兼职信息的商家用户
	public Integer getJob_id() {
		return job_id;
	}
	public void setJob_id(Integer job_id) {
		this.job_id = job_id;
	}
	public String getJob_duties() {
		return job_duties;
	}
	public void setJob_duties(String job_duties) {
		this.job_duties = job_duties;
	}
	
	public Timestamp getWorking_time() {
		return working_time;
	}
	public void setWorking_time(Timestamp working_time) {
		this.working_time = working_time;
	}
	
	public String getWorkplace() {
		return workplace;
	}
	public void setWorkplace(String workplace) {
		this.workplace = workplace;
	}
	public Timestamp getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Timestamp add_time) {
		this.add_time = add_time;
	}
	public Integer getWages() {
		return wages;
	}
	public void setWages(Integer wages) {
		this.wages = wages;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Merchant_Users getMerchant_users() {
		return merchant_users;
	}
	public void setMerchant_users(Merchant_Users merchant_users) {
		this.merchant_users = merchant_users;
	}
	
	@Override
	public String toString(){
		return "PartTimeJob:[Job_duties:"+job_duties+" Merchant:"+merchant_users.getCompany_name()+"]";
	}

}
